package com.gy.edu.news.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.gy.edu.R;

/**
 * 作者：gy on 16/12/22
 * 说明：
 */
public class NewsCommentAdapter extends BaseAdapter {

    private Context context;

    public NewsCommentAdapter(Context context){
        this.context = context;
    }

    @Override
    public int getCount() {
        return 3;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        convertView = View.inflate(context, R.layout.adapter_news_comment,null);
        return convertView;
    }
}
